package testpackage.java.al.extend;

import org.junit.Test;

import com.java.al.extend.F_Chlid;
import com.java.al.extend.Father;

public class TExtend {

	@Test
	//此方法说明 父类 不能强转成 子类
	public void TChangType(){
		Father father = new Father();
		F_Chlid fchild = (F_Chlid) father;
		fchild.iamFather();
	}
}
